package home_work8;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;

public class test3 {

	public static void main(String[] args) throws FileNotFoundException, IOException {
		FileInputStream fis = new FileInputStream("note.txt");
		InputStreamReader isr = new InputStreamReader(fis);
		
		
		int d = -1;
		while((d = isr.read())!=-1){
			System.out.println(d);
		}
		isr.close();
	}

}
